package com.ning.dao;

import java.util.List;

import com.ning.pojo.Apply;
import com.ning.pojo.User;

public interface ApplyDao {
	
	List<Apply> findApplyByUser(Integer userId);

	void save(Apply apply);

	List<Apply> findApplyByCompetent(Integer deptId);

	List<Apply> findApplyByManager();

	Apply getApplyById(Integer applyId);

	void update(Apply apply);

	List<Apply> findApplyByBoss();

}
